﻿<%@ include file="../include/top.jsp"%>
<%@ include file="../include/errorArea.jsp" %>


<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1">
  <tr>
    <td height="5" colspan="2"></td>
  </tr>
  <form action="" method="get" name="searchForm" id="searchForm">
    <input type="hidden" name="p" value="1" />
    <tr>
      <td height="20" align="left" valign="middle">&nbsp;&nbsp;<img src="${baseURL}/images/009.png" width="16" height="16" align="absmiddle" />&nbsp;搜索条件：&nbsp;分类树名称：
        <input name="name" type="text" class="button" id="name"
			value="${formdata.name}" size="20"/>
      &nbsp;&nbsp;&nbsp;</td>
      <td width="10%" align="left" valign="middle" class="STYLE6"><input name="image" type="image" id="Image8" onmouseover="MM_swapImage('Image8','','${baseURL}/images/button_ss_a.jpg',1)" onmouseout="MM_swapImgRestore()" src="${baseURL}/images/button_ss.jpg"/></td>
    </tr>
  </form>
  <tr>
    <td height="5" colspan="2"></td>
  </tr>
  <tr>
    <td height="1" colspan="2" bgcolor="#A6CAE8"></td>
  </tr>
  <tr>
    <td height="5" colspan="2" class="text_gray2"></td>
  </tr>
</table>



<c:if test="${empty obj.list}">
<div align="center"><b>没有符合条件的记录。</b></div>
</c:if>
<c:if test="${not empty obj.list}">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" id="listOutTable">
  <tr>
    <td colspan="2" align="left" valign="middle" class="text_gray2"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#96bee2">
      <tr>
        <td height="21" background="${baseURL}/images/table_bg.jpg">&nbsp;&nbsp;<span class="text_blue_b"><img src="${baseURL}/images/008.png" width="16" height="16" align="absmiddle" />&nbsp;分类树列表：</span></td>
      </tr>
      <tr>
        <td height="13" align="center" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF" id="listTable">
	<tr align="center" bgcolor="#eeeeee">
		<td width="55%">分类树名称</td>
		<td>操作</td>
	</tr>
	<c:forEach var="oneRow" items="${obj.list}">
		<tr align="center">
			<td>${oneRow.name}</td>
			<td>
			<a href="listNode.nut?treeId=${oneRow.id}">编辑分类树</a></td>
		</tr>
	</c:forEach>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="5" colspan="2"></td>
  </tr>
  <tr>
    <td height="1" colspan="2" bgcolor="#A6CAE8"></td>
  </tr>
  <tr>
    <td height="25" colspan="2"><%@ include file="../include/listpage.jsp"%>
    </td>
  </tr>
  <tr>
    <td height="1" colspan="2" bgcolor="#A6CAE8"></td>
  </tr>
</table>
<script>
function openTreeWin(treeId) {
	url = "viewTree2.nut?treeId="+treeId;
	window.open(url, "treeWin", "width=800,height=600,resizable=yes");
}
</script>
</c:if>

<%@ include file="../include/bottom.jsp"%>